// 导入 路由
import VueRouter from 'vue-router';

// 导入 tabbar 组件
import home from './components/tabbar/home.vue';
import member from './components/tabbar/member.vue';
import search from './components/tabbar/search.vue';
import shopingcar from './components/tabbar/shopingcar.vue';


// 创建路由
var router = new VueRouter({
    routes: [
        { path: '/home', component: home },
        { path: '/member', component: member },
        { path: '/search', component: search },
        { path: '/shopingcar', component: shopingcar },
    ],
    linkActiveClass: 'mui-active'
});

export default router;